# !usr/bin/env python
# -*- coding:utf-8 _*-
"""
@Author:张广勤
@Web site: https://www.tunan.wang
@Github:www.github.com
 
@File:listdir01.py
@Time:2022/3/9 17:51

@Motto:不积跬步无以至千里，不积小流无以成江海！
"""

import os
str2=str(os.listdir(r'..\chaxunmulu'))
print(str2)

with open(r'C:\Users\hsk\PycharmProjects\vdcode5\zdmulu.csv', 'r', encoding='u8') as f:
    str1 = f.read()
    dict1 = eval(str1)
    zdlist = list(dict1.values())
print(zdlist)

for li in zdlist:
    if str2.find(li)!=-1:
        print(li)
    else:
        print(f'{li}not in')
